Inspired by http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto
I'm not terribly confident these are as tight as can be (and I fear they
may be too loose in come cases) but it really helps "interesting" issues
pop out over system library loss.
--- /dev/null
+{
+ <Fedora18: Qt's use of libuuc leaks.>
+ Memcheck:Leak
+ ...
+ obj:*libicuuc*
+}
+{
+ <Fedora18: XmlStreamAttributes has an internal leak.>
+ Memcheck:Leak
+ ...
+ fun:_ZL7tag_wptRK20QXmlStreamAttributes
+}
+
+{
+ <F18 internal leak for locales called from toDouble>
+ Memcheck:Leak
+ ...
+ fun:_ZN14QLocalePrivate19updateSystemPrivateEv
+}
+
+{
+ <F18 many errors from dlopened objects.
+ Memcheck:Leak
+ ...
+ fun:dlopen_doit
+}
+
+{
+ <F18 leak in QIODevice::QIODevice ctor>
+ Memcheck:Leak
+ ...
+ fun:_ZN9QIODeviceC1ER16QIODevicePrivateP7QObject
+}
+
+
+{
+ <F18 leak in QTextStream::QTextStream(QIODevice*) in google.cc >
+ Memcheck:Leak
+ ...
+ fun:_ZN11QTextStreamC1EP9QIODevice
+}
+
while getopts "l" opt; do
case $opt in
- l) OPTS="--leak-check=full --show-reachable=yes" ; QUIET="";;
+ l) OPTS="--leak-check=full --show-reachable=yes --suppressions=gpsbabel.supp" ; QUIET="";;
esac
done
shift $(($OPTIND -1))